-
Notifications
You must be signed in to change notification settings - Fork 531
make restclient config configurable #1416
make restclient config configurable #1416
Conversation
433d4f1
to
3683231
Compare
48a79bd
to
affb656
Compare
/retest |
@shiyan2016: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@hectorj2f Please help me to review this pr and retrigger the test,thanks. |
@@ -98,6 +99,8 @@ member clusters and do the necessary reconciliation`, | |||
flags.StringVar(&kubeFedConfig, "kubefed-config", "", "Path to a KubeFedConfig yaml file. Test only.") | |||
flags.StringVar(&kubeconfig, "kubeconfig", "", "Path to a kubeconfig. Only required if out-of-cluster.") | |||
flags.StringVar(&masterURL, "master", "", "The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.") | |||
flags.IntVar(&restConfigQPS, "rest-config-qps", 5, "QPS of rest config.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to confirm, are these the default values ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, they are default values.
I re-trigger it but we are always failing the docker image pulling issue. So we need to fix that first :/. |
This problem is related to this issue #1359. We need to work on that. |
ok, thanks. |
Please, rebase to get the latest changes. |
Done it. Thanks. @hectorj2f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please squash 2 commits into 1.
@@ -98,6 +99,8 @@ member clusters and do the necessary reconciliation`, | |||
flags.StringVar(&kubeFedConfig, "kubefed-config", "", "Path to a KubeFedConfig yaml file. Test only.") | |||
flags.StringVar(&kubeconfig, "kubeconfig", "", "Path to a kubeconfig. Only required if out-of-cluster.") | |||
flags.StringVar(&masterURL, "master", "", "The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.") | |||
flags.IntVar(&restConfigQPS, "rest-config-qps", 5, "QPS of rest config.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- if QPS is a float, it is better to use
Float32Var
instead. - I suggest to use more detailed message for the description. E.g.:
QPS indicates the maximum QPS to the api-server from this client
Maximum burst for throttle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xunpan Done. Please review it again. Thanks.
f245f66
to
03b75ea
Compare
496d85a
to
50e4778
Compare
/retest |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: shiyan2016, xunpan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@hectorj2f The code is fine to me. |
Have trigerred a build. |
[Fail] Federated "configmaps" [It] should be created, read, updated and deleted successfully
/go/src/sigs.k8s.io/kubefed/test/common/crudtester.go:477
[Fail] Federated "replicasets.apps" [It] should be created, read, updated and deleted successfully
/go/src/sigs.k8s.io/kubefed/test/common/crudtester.go:519 It seems not releated to my pr. @hectorj2f @xunpan @irfanurrehman |
@jimmidyson can this be related to the recent update to github actions? I did rerun this 3 times and each time, one of the first or second executed test failed with timeout (we set @shiyan2016 can you please push a "separate temperory commit" on this PR to update the timeout to a higher value, say 2m. This is only to determine if its just that the tests are executing slower then expected in the new environment, or its something else. Thanks in advance. /hold |
50e4778
to
074f94f
Compare
@irfanurrehman Done for single-call-timeout to 2m. Please retriggle test. Thanks. |
/hold cancel |
What this PR does / why we need it:
make restclient config configurable
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer: